package com.ruihui.activity.pojo;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author cf123
 * @since 2018-09-30
 */
@TableName("ruihui_activity")
public class Activity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 活动名称
     */
    private String name;
    /**
     * 活动图片
     */
    private String img;
    /**
     * 创建时间
     */
    private BigDecimal createtime;
    /**
     * 结束时间
     */
    private BigDecimal endtime;
    /**
     * 开始时间
     */
    private BigDecimal starttime;
    /**
     * 活动首字母判断
     */
    private String initials;
    /**
     * 类型：1通用，2电脑，3微信
     */
    private Integer type;
    /**
     * 活动状态
     */
    private Integer state;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public BigDecimal getCreatetime() {
        return createtime;
    }

    public void setCreatetime(BigDecimal createtime) {
        this.createtime = createtime;
    }

    public BigDecimal getEndtime() {
        return endtime;
    }

    public void setEndtime(BigDecimal endtime) {
        this.endtime = endtime;
    }

    public BigDecimal getStarttime() {
        return starttime;
    }

    public void setStarttime(BigDecimal starttime) {
        this.starttime = starttime;
    }

    public String getInitials() {
        return initials;
    }

    public void setInitials(String initials) {
        this.initials = initials;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Activity{" +
        ", id=" + id +
        ", name=" + name +
        ", img=" + img +
        ", createtime=" + createtime +
        ", endtime=" + endtime +
        ", starttime=" + starttime +
        ", initials=" + initials +
        ", type=" + type +
        ", state=" + state +
        "}";
    }
}
